package com.mydroidchat;

import com.alee.laf.WebLookAndFeel;
import com.alee.laf.button.WebButton;
import com.jgoodies.forms.layout.CellConstraints;
import com.jgoodies.forms.layout.FormLayout;
import com.mydroidchat.controllers.ChatApplicationController;
import com.mydroidchat.controllers.LoginController;
import com.mydroidchat.views.ChatApplicationView;

import javax.swing.*;

public class MDChatStarter {
    public MDChatStarter() {
        try {
            UIManager.setLookAndFeel(WebLookAndFeel.class.getCanonicalName());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        MDChatStarter chatStarter = new MDChatStarter();
        chatStarter.start();
    }

    private void start() {
        ChatApplicationController.getInstance().init();
    }
}
